import time
 
start = time.perf_counter()
 
n = 2021041820210418    #2021041820210418
ans = []    #  记录所有能把N整除的整数
for i in range(1, int(n ** 0.5) + 1):
    if n % i == 0:
        ans.append(i)
        ans.append(n // i)
case = set() #以元组形式记录符合条件的每种方案set()可以去重
#print(ans)
for i in ans:
    for j in ans:
        for k in ans:
            if i * j * k == n:
                case.add((i, j, k))
print(len(case)) #元组个数即答案
 
end = time.perf_counter()
print('Running time: %s Seconds' % (end - start))